package com.jackiechancinema.ssm.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
public class EmpExcelDto {
    @ExcelProperty("姓名")
    private String ename;//姓名
    @ExcelProperty("手机号")
    private String phone;//手机号
    @ExcelProperty("学历")
    private String education;//学历
    @ExcelProperty("员工类型")
    private Integer type;//员工类型
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ExcelProperty("入职日期")
    private Date hiredate;
}
